projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
024c380
)
(comment-region): Force `lines' when `block' is set.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 12 Aug 2002 22:53:39 +0000
(22:53 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 12 Aug 2002 22:53:39 +0000
(22:53 +0000)
lisp/newcomment.el
patch
|
blob
|
history
diff --git
a/lisp/newcomment.el
b/lisp/newcomment.el
index b161b0c777986b81dca2382c0229008e483589ed..8f7333a3e31baa36f6c93a6ee56371e434489ee0 100644
(file)
--- a/
lisp/newcomment.el
+++ b/
lisp/newcomment.el
@@
-865,8
+865,8
@@
The strings used as comment starts are built from
(>= (point) beg))
(progn (goto-char end) (end-of-line) (skip-syntax-backward " ")
(<= (point) end))
- (or
(not (string= "" comment-end)) block
)
- (
progn (goto-char beg) (search-forward "\n" end t
)))))
+ (or
block (not (string= "" comment-end))
)
+ (
or block (progn (goto-char beg) (search-forward "\n" end t)
)))))
;; don't add end-markers just because the user asked for `block'
(unless (or lines (string= "" comment-end)) (setq block nil))